Skip to content

refactor(tools): move ToolExecutionOutput into rustcode-tools - #4250

Merged
LHagfoss merged 1 commit into
mainfrom
refactor/tools-execution-output-core
Nov 22, 2026
Merged

LHagfoss merged 1 commit into
mainfrom
refactor/tools-execution-output-core

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

Step 4 of ADR 0008. ToolExecutionOutput, the result every tool call returns, moves from the engine's tools module into rustcode-tools (output.rs). Its fields and constructors become pub, and crate::tools re-exports it, so the agent's own code is unchanged.

The engine code that builds tool results without being part of the agent now names the core crates:

  • orchestration (also ChatMessage and estimate_tokens)
  • smart_ui
  • preview
  • desktop_control
  • lib.rs

Changelog

No user-facing change.

Testing

cargo check --workspace --tests; CI runs the suites.

Orchestration, Smart UI, preview and desktop control build tool results
from the core crate instead of the agent's tools module.
@github-actions github-actions Bot added the refactor Code improvement and restructuring label Nov 22, 2026
@LHagfoss
LHagfoss merged commit 9053194 into main Nov 22, 2026
7 checks passed
@LHagfoss
LHagfoss deleted the refactor/tools-execution-output-core branch November 22, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code improvement and restructuring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant